﻿@model IEnumerable<TraceData> 
@{
    Layout = "~/Views/Shared/_Dashboard.cshtml";
    string pkgFileName = ViewBag.FileName;
}
@UIHelper.ImageTitle(Html.Global("Solution_Export_Complete"))
@UIHelper.SectionHeader(Html.Global("RES_VIEW_LOG"))
@{ Html.RenderPartial("_LogViewer", Model); }
@if (!string.IsNullOrEmpty(pkgFileName))
{
    @UIHelper.SectionHeader(Html.Global("Solution_Exported_Package_File"))
    <p>
        @Ajax.Dna().Link(Path.GetFileName(pkgFileName), Url.Content(pkgFileName), Url.Content("~/content/images/mime/zip.gif")).GetHtml()
    </p>
}

<div style="padding: 10px; text-align: center;">
    @Ajax.Dna().Button().Click("location=\"" + Url.Action("SiteSettings", "Sys") + "\"").LocText("RES_FINISH").GetHtml()
</div>
